


<!DOCTYPE html>

<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />

    <title>License &#8212; CVX Users&#39; Guide</title>
    <link rel="stylesheet" type="text/css" href="_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="_static/cloud.css" />
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noticia+Text:400,i,b,bi|Open+Sans:400,i,b,bi|Roboto+Mono:400,i,b,bi&amp;display=swap" type="text/css" />
    
    <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
    <script src="_static/jquery.js"></script>
    <script src="_static/underscore.js"></script>
    <script src="_static/_sphinx_javascript_frameworks_compat.js"></script>
    <script src="_static/doctools.js"></script>

    
    
     
        <script src="_static/jquery.cookie.js"></script>
    

    
     
        <script src="_static/cloud.base.js"></script>
    

    
     
        <script src="_static/cloud.js"></script>
    

    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Citing CVX" href="citing.html" />
    <link rel="prev" title="Advanced topics" href="advanced.html" /> 
        <meta name="viewport" content="width=device-width, initial-scale=1">
  </head><body>
    <div class="relbar-top">
        
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="citing.html" title="Citing CVX"
             accesskey="N">next</a> &nbsp; &nbsp;</li>
        <li class="right" >
          <a href="advanced.html" title="Advanced topics"
             accesskey="P">previous</a> &nbsp; &nbsp;</li>
    <li><a href="index.html">CVX Users&#39; Guide</a> &#187;</li>

        <li class="nav-item nav-item-this"><a href="">License</a></li> 
      </ul>
    </div>
    </div>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <section id="license">
<span id="licensing2"></span><h1>License<a class="headerlink" href="#license" title="Permalink to this heading">¶</a></h1>
<div class="line-block">
<div class="line">CVX: A system for disciplined convex programming</div>
<div class="line">© 2012-2019 CVX Research, Inc., Austin, TX.</div>
<div class="line"><a class="reference external" href="http://cvxr.com">http://cvxr.com</a></div>
<div class="line"><a class="reference external" href="mailto:info&#37;&#52;&#48;cvxr&#46;com">info<span>&#64;</span>cvxr<span>&#46;</span>com</a></div>
</div>
<p>Thank you for using CVX!</p>
<p>The files contained in the CVX distribution come from several different
sources and are covered under a variety of licenses. Those files owned by CVX
Research, Inc. are released under one of two licenses: the <em>CVX Standard
License</em> and the <em>CVX Professional License</em>. The CVX Professional License
is not a permissive license, and it does not permit redistribution. The
CVX Standard License, on the other hand, is in fact the GNU Standard
License, Version 3, amended with a single additional permission.</p>
<section id="cvx-professional-license">
<h2>CVX Professional License<a class="headerlink" href="#cvx-professional-license" title="Permalink to this heading">¶</a></h2>
<p>The full CVX package, including the commercial solver functionality,
includes several files in Matlab <em>p-code</em> format. This format contains
an encrypted form of Matlab bytecode, and are distinguished by a <code class="docutils literal notranslate"><span class="pre">.p</span></code>
suffix. For instance, the package currently includes the files</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>shims/cvx_mosek.p
shims/cvx_gurobi.p
cvx_license.p
</pre></div>
</div>
<p>but future versions may add additional .p files, and they are governed
by this text as well. Furthermore, all files within the subdirectories</p>
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span>gurobi/
mosek/
</pre></div>
</div>
<p>are licensed by Gurobi Optimization and MOSEK ApS, respectively, for
inclusion in the CVX package by contractual agreement. In the future,
CVX Research may include other commercial solvers in its distributions,
and they will be governed by this section as well.</p>
<p>Any package containing even one of the files mentioned above is subject
to the <em>CVX Professional License</em>. You may <em>not</em> redistribute such a package,
nor make it available on a public repository, without the express written
consent of CVX Research, Inc. Of course, the full CVX package is freely
available to download directly from our servers, so please feel free to
refer people to our web site—even directly to our
<a class="reference external" href="http://cvxr.com/cvx/download">download page</a>.</p>
</section>
<section id="cvx-standard-license">
<h2>CVX Standard License<a class="headerlink" href="#cvx-standard-license" title="Permalink to this heading">¶</a></h2>
<p>CVX also offers what we call “redistributable” packages that omit all of
the files listed above. This package retains all of the functionality of
CVX, with the exception of its ability to connect to commercial solvers.
Redistributable packages are offered on the same download page as our
standard packages.</p>
<p>The redistributable package is covered by the <em>CVX Standard License</em>. This
license is nothing more than the GNU Standard License, Version 3 (GPLv3),
with one additional permission we call the “Free Solver Clause”, discused
in the next section.</p>
<p>The full text of the GPLv3 is given in the file GPL.txt found in the top
directory of the CVX package. Please see Section 7 of this license for more
information about additional permissions such as the one offered here. In
particular, you are free to <em>remove</em> this permission from any modified
version of CVX you create; but you may not <em>create new ones</em>.</p>
<p>You must include the files LICENSE.txt and GPL.txt in unmodified form when
redistributing this software or any subset of it. If you did not receive a
copy of either of these files with your distribution, please contact us.</p>
</section>
<section id="the-free-solver-clause">
<h2>The Free Solver Clause<a class="headerlink" href="#the-free-solver-clause" title="Permalink to this heading">¶</a></h2>
<p>We have chosen to add a single “additional permission” clause to the CVX
Standard License above and beyond the text of the GPLv3. This full text of
this clause is contained in the following paragraph:</p>
<blockquote>
<div><p>You are free to modify CVX to connect to any solver whose full
functionality is provided free of charge to <em>all</em> users, even if the
solver’s license is otherwise incompatible with the GNU Standard
License Version 3. This permission does not apply to solvers which
are free just to certain users (e.g., academic users), free for
limited time periods, or free with restricted functionality.</p>
</div></blockquote>
<p>CVX relies upon other software packages, called <em>solvers</em>, to perform many
of its underlying calculations. Currently CVX supports free solvers SeDuMi
and SDPT3, and commercial solvers Gurobi and MOSEK. The resulting nexus of
free and commercial software presents a licensing challenge. Our vision is
guided by three goals:</p>
<ul class="simple">
<li><p>to ensure that CVX remains fully free to use with any fully free solver.</p></li>
<li><p>to support the development and support of CVX by selling interfaces to
commercial solvers to commercial customers.</p></li>
<li><p>to provide the academic community with our full commercial capabilities
at no charge. (Obviously this depends upon the cooperation of commercial
solver vendors. Gurobi and MOSEK fully support this goal.)</p></li>
</ul>
<p>The terms we lay out here are intended to support these trifold goals.</p>
<p>We invite our users to create new interfaces between CVX and other free
solvers. By  “free”, we mean that the solver must be made available at no
charge for to <em>all</em> users, including commercial users, without restriction.
Please contact us if you are interested in creating such an interface; we can
offer assistance. If you do create one, please consider submitting it to us
for inclusion in the standard CVX distribution; but you are under no
obligation to do this. Instead, you can ship the interface code with the
solver itself; or you can construct a modified version of the
redistributable CVX package with your interface included.</p>
<p>We do not permit the creation and distribution of new interfaces between CVX
and <em>non-free</em> solvers—even if those solvers are made available to academic
academic users at no charge. If you are a vendor or developer of a
commercial solver, and would like to develop or offer a CVX interface to
your users, please contact us at <a class="reference external" href="mailto:info&#37;&#52;&#48;cvxr&#46;com">info<span>&#64;</span>cvxr<span>&#46;</span>com</a>. We welcome the opportunity
to support a wider variety of commercial solvers with CVX, and are willing
to devote engineering resources to make those connections. Of course, we
hope that you support our goal of making commercial solver capability
available at no charge to academic customers; and our licensing interface
helps to facilitate that offering.</p>
<p>If you are a user of a particular commercial solver and would like to see it
supported by CVX, please contact your solver vendor—but please contact us
at <a class="reference external" href="mailto:info&#37;&#52;&#48;cvxr&#46;com">info<span>&#64;</span>cvxr<span>&#46;</span>com</a> as well. If there is sufficient demand, and it proves
technically and financially feasible, we will reach out to the solver vendor
to work on an implementation.</p>
</section>
<section id="bundled-solvers">
<h2>Bundled solvers<a class="headerlink" href="#bundled-solvers" title="Permalink to this heading">¶</a></h2>
<p>The solvers SDPT3, SeDuMi, Gurobi, and MOSEK are distributed with CVX in the
<code class="docutils literal notranslate"><span class="pre">sdpt3/</span></code>, <code class="docutils literal notranslate"><span class="pre">sedumi/</span></code>, <code class="docutils literal notranslate"><span class="pre">gurobi/</span></code>, and <code class="docutils literal notranslate"><span class="pre">mosek/</span></code> subdirectories, respectively. (The
redistributable version of CVX does not include <code class="docutils literal notranslate"><span class="pre">gurobi/</span></code> and <code class="docutils literal notranslate"><span class="pre">mosek/</span></code>.) Future
versions of CVX may include additional solvers as well, each in their own
subdirectories. None of these packages are owned by CVX Research, Inc. They
are included with permission of the authors. The solvers SDPT3 and SeDuMi
are subject to the terms of the GPLv2; therefore, you are free to redistribute
them under the terms of that license.</p>
</section>
<section id="example-library">
<h2>Example library<a class="headerlink" href="#example-library" title="Permalink to this heading">¶</a></h2>
<p>The contents of the example library, which is distributed with CVX in the
examples/ subdirectory, is <em>public domain</em>. You are free to use them in any
way you wish; but when you do, we request that you give appropriate credit
to the authors. A number of people have contributed to the examples in this
library, including Lieven Vandenberghe, Joëlle Skaf, Argyris Zymnis, Almir
Mutapcic, Michael Grant, and Stephen Boyd. If you would like to offer some
examples to be included in this library, and are willing to release them to
the public domain, please contact us!</p>
</section>
<section id="no-warranty">
<h2>No Warranty<a class="headerlink" href="#no-warranty" title="Permalink to this heading">¶</a></h2>
<p>This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.</p>
</section>
</section>


            <div class="clearer"></div>
          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
        <p class="logo"><a href="index.html" title="index">
          <img class="logo" src="_static/cvxrlogo.png" alt="Logo"/>
        </a></p><div class="sphinx-toc sphinxlocaltoc">
    <h3><a href="index.html">Page contents</a></h3>
    <ul>
<li><a class="reference internal" href="#">License</a><ul>
<li><a class="reference internal" href="#cvx-professional-license">CVX Professional License</a></li>
<li><a class="reference internal" href="#cvx-standard-license">CVX Standard License</a></li>
<li><a class="reference internal" href="#the-free-solver-clause">The Free Solver Clause</a></li>
<li><a class="reference internal" href="#bundled-solvers">Bundled solvers</a></li>
<li><a class="reference internal" href="#example-library">Example library</a></li>
<li><a class="reference internal" href="#no-warranty">No Warranty</a></li>
</ul>
</li>
</ul>

  </div>
  <div class="sphinxprev">
    <h4>Previous page</h4>
    <p class="topless"><a href="advanced.html"
                          title="Previous page">&larr; Advanced topics</a></p>
  </div>
  <div class="sphinxnext">
    <h4>Next page</h4>
    <p class="topless"><a href="citing.html"
                          title="Next page">&rarr; Citing CVX</a></p>
  </div>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/license.rst.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div><h3>Other links</h3>
<ul class="this-page-menu">
<li><a href="CVX.pdf" target="_blank">Download the PDF</a></li>
<li><a href="http://cvxr.com/cvx">CVX home page</a></li>
</ul>


<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script>document.getElementById('searchbox').style.display = "block"</script>
        </div>
      </div>
    
    
        <div class="sidebar-toggle-group no-js">
            
            <button class="sidebar-toggle" id="sidebar-hide" title="Hide the sidebar menu">
                 «
                <span class="show-for-small">hide menu</span>
                
            </button>
            <button class="sidebar-toggle" id="sidebar-show" title="Show the sidebar menu">
                
                <span class="show-for-small">menu</span>
                <span class="hide-for-small">sidebar</span>
                 »
            </button>
        </div>
    
      <div class="clearer"></div>
    </div>
    <div class="relbar-bottom">
        
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="citing.html" title="Citing CVX"
             >next</a> &nbsp; &nbsp;</li>
        <li class="right" >
          <a href="advanced.html" title="Advanced topics"
             >previous</a> &nbsp; &nbsp;</li>
    <li><a href="index.html">CVX Users&#39; Guide</a> &#187;</li>

        <li class="nav-item nav-item-this"><a href="">License</a></li> 
      </ul>
    </div>
    </div>

    <div class="footer" role="contentinfo">
        &#169; Copyright © 2012, CVX Research, Inc..
      Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 5.0.2.
    </div>
    <!-- cloud_sptheme 1.4 -->
  </body>
</html>